package com.pd.modules.common;

import java.io.Serializable;

@SuppressWarnings("serial")
public class Envelope implements Serializable
{

	private boolean mIsEncryptedMessage = false;
	private byte[] mMessage;

	public Envelope(byte[] _message, boolean _encrypted)
	{
		mMessage = _message;
		mIsEncryptedMessage = _encrypted;
	}

	public boolean isEncryptedMessage()
	{
		return mIsEncryptedMessage;
	}

	public void setAsEncryptedMessage(boolean _value)
	{
		this.mIsEncryptedMessage = _value;
	}

	public byte[] getMessage()
	{
		return mMessage;
	}

	public void setMessage(byte[] _message)
	{
		this.mMessage = _message;
	}
}
